<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <div id="app">
        <div> {{msg}} </div>
        <div> {{1+2}} </div>
    </div>
    <!-- 2.引入库文件 -->
    <script type="text/javascript" src="../js/vue.js"> </script>
    <script>
        var vm = new Vue({
            el: '#app',
            data: {
                msg: 'Hello Vue'
            }
        });
    </script>
</body>

</html>